package com.service;

import com.entity.StudentInfo;

import java.util.List;

public interface StudentService {

    int publish(Integer userId,String studentName, String studentSex, String teachStage, String counselingMethod, Integer cityId, Integer locationId, String adress, String classTime, String subjects, String teacherSex, String salary, String overview);

    int findPublishCount(Integer userId);

    StudentInfo findPublish(Integer userId);

    int deletePublish(Integer id, Integer userId,Integer count);

    List<StudentInfo> seekStudent(String cityName,Integer locationId, Integer subjectId, String teachStage, Integer limit);

    StudentInfo findStudentDetail(Integer userId);

    int updatePublish(Integer userId,String studentName, String studentSex, String teachStage, String counselingMethod, Integer cityId, Integer locationId, String adress, String classTime, String subjectId, String teacherSex, String salary, String overview);

    int findPublishState(Integer userId);
}


